﻿namespace CSharpPro._1103;

public class User
{
    private string _username;
    
    private string _password;

    public string Username 
    { 
        get => _username; 
        set => _username = value?.Trim() ?? string.Empty; 
    }

    public string Password 
    { 
        get => _password; 
        set => _password = value ?? string.Empty; 
    }

    public User(string username, string password)
    {
        Username = username;
        Password = password;
    }
}
